package com.thinkwide.data.ormapping.session;

public class MFRowBounds {
    public static final int NO_ROW_OFFSET = 0;
    public static final int NO_ROW_LIMIT = Integer.MAX_VALUE;
    public static final MFRowBounds DEFAULT = new MFRowBounds();
    private final int offset;
    private final int limit;

    public MFRowBounds() {
        this.offset = 0;
        this.limit = Integer.MAX_VALUE;
    }

    public MFRowBounds(int offset, int limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public int getOffset() {
        return this.offset;
    }

    public int getLimit() {
        return this.limit;
    }
}
